package com.yonyou.cyxdms.basedata.service.service.series;

import com.yonyou.cyx.framework.service.base.ICommonService;
import com.yonyou.cyxdms.basedata.service.dto.CarserialDTO;
import com.yonyou.cyxdms.basedata.service.entity.series.SeriesPO;
import com.yonyou.cyxdms.basedata.service.vo.CarparamVO;
import com.yonyou.cyxdms.basedata.service.vo.CarserialDetailsVO;
import com.yonyou.cyxdms.basedata.service.vo.CarserialInfoVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhangsx
 * @since 2018-09-08
 */
public interface CarserialService extends ICommonService<CarserialDTO, SeriesPO, Long> {

    /**
     * 根据id获取车系图片的url
     *
     * @param serialId
     * @return
     * @author Zhangsx
     * @date 2018年9月8日
     */
    public String logoUrl(Long serialId);

    /**
     * 按条件查询品牌车系信息
     *
     * @param queryCondition 查询条件     ,                               java.lang.Object>
     * @return java.util.Map<java.lang.String   ,       java.lang.Object>
     * @author renwd
     * @since 2018/11/26
     */
    public Map<String, Object> querySerialByCondition(Map<String, Object> queryCondition);


    /**
     * 根据品牌ID查询车系列表信息
     *
     * @author dengqiang
     * @since 2019/1/2
     */
    List<CarserialInfoVO> queryCarserialInfo(String brandId, String appId, String ownerCode);

    /**
     * 根据车系ID查询车系详情
     *
     * @author dengqiang
     * @since 2019/1/2
     */
    public CarserialDetailsVO queryCarserialDetails(Long carserialId, String appId);

    public void doCarserialDetails(List<CarparamVO> carParamVos, CarserialDetailsVO carserialDetailsVO);

}
